#include <REGX52.H>
#include "Delay.h"
#include "Key.h"
#include "Nixie.h"
#include "Buzzer.h"

unsigned char keyNum;

void main() {
	
	Nixie(1,0);
	
	while (1) {
		
		keyNum = Key();
		if(keyNum) {
			Nixie(1,keyNum);
			Buzzer_time(100);
		}
			
	}
	
}